package com.java.interfaces.exer3;

/**
 * @author luzhikun
 * @date 2020/12/17-15:39
 */
public interface CompareObject {
    //若返回值为0，则证明两个数相等，若为整数，则证明当前对象大，若为负数，则证明当前对象小
    public int compareTo(Object o);
}